package erlangtools.parser;

public class Item {
	public static final int DEFINITION = 0;
	public static final int FUNCTION = 1;
	public static final int INVOCATION = 2;
	
	private int start;
	private int end;
	private String text;
	private int type;
	public int getStart() {
		return start;
	}
	public void setStart(int start) {
		this.start = start;
	}
	public int getEnd() {
		return end;
	}
	public void setEnd(int end) {
		this.end = end;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public Item(int type, int start, int end, String text) {
		super();
		this.start = start;
		this.end = end;
		this.text = text;
		this.type = type;
	}
}
